package com.lhy;

import java.util.ArrayList;
import java.util.List;

public class Test64 {
    public static void main(String[] args) {
        ArrayList<Integer> ints = new ArrayList<>();
        ArrayList<String> strs = new ArrayList<>();
        ArrayList<Number> nums = new ArrayList<>();
        ints.add(10);
        strs.add("十");
        nums.add(10.1);
        addDate(ints);
        addDate(strs);
        addDate(nums);
    }
    public static void addDate(List<?> date){
        System.out.println("date: "+date.get(0));
    }
}
